package com.ourteam.system.dao;

/**
 * Template Name : DAO数据对象
 * Template Version : 1
 * Template Last Modfiy Date : Fri Aug 18 15:51:23 CST 2017
 * Auto Generate Date : 2018-07-31 15:13:23
  * Warning ! This file will be overwrite when regenerate !
  *
 */
import org.apache.commons.lang.StringUtils;


public class SysMessageReadStatus implements java.io.Serializable {
    private long id;

    /**
     * Attribute id Be Seted Falg
     */
    private boolean idSetted = false;

    /**
    * Attribute id is Null Falg
    */
    private boolean idNull = false;
    private long sysMessageId;

    /**
     * Attribute sysMessageId Be Seted Falg
     */
    private boolean sysMessageIdSetted = false;

    /**
    * Attribute sysMessageId is Null Falg
    */
    private boolean sysMessageIdNull = false;
    private long receiverId;

    /**
     * Attribute receiverId Be Seted Falg
     */
    private boolean receiverIdSetted = false;

    /**
    * Attribute receiverId is Null Falg
    */
    private boolean receiverIdNull = false;
    private java.util.Date readTime;

    /**
     * Attribute readTime Be Seted Falg
     */
    private boolean readTimeSetted = false;

    /**
    * Attribute readTime is Null Falg
    */
    private boolean readTimeNull = false;
    private String status;

    /**
     * Attribute status Be Seted Falg
     */
    private boolean statusSetted = false;

    /**
    * Attribute status is Null Falg
    */
    private boolean statusNull = false;
    private String remarks;

    /**
     * Attribute remarks Be Seted Falg
     */
    private boolean remarksSetted = false;

    /**
    * Attribute remarks is Null Falg
    */
    private boolean remarksNull = false;
    private String isDroped;

    /**
     * Attribute isDroped Be Seted Falg
     */
    private boolean isDropedSetted = false;

    /**
    * Attribute isDroped is Null Falg
    */
    private boolean isDropedNull = false;
    private String receiverName;

    /**
     * Attribute receiverName Be Seted Falg
     */
    private boolean receiverNameSetted = false;

    /**
    * Attribute receiverName is Null Falg
    */
    private boolean receiverNameNull = false;
    private String receiverAccount;

    /**
     * Attribute receiverAccount Be Seted Falg
     */
    private boolean receiverAccountSetted = false;

    /**
    * Attribute receiverAccount is Null Falg
    */
    private boolean receiverAccountNull = false;
    private String sysMessageTitle;

    /**
     * Attribute sysMessageTitle Be Seted Falg
     */
    private boolean sysMessageTitleSetted = false;

    /**
    * Attribute sysMessageTitle is Null Falg
    */
    private boolean sysMessageTitleNull = false;
    private String sysMessagePriority;

    /**
     * Attribute sysMessagePriority Be Seted Falg
     */
    private boolean sysMessagePrioritySetted = false;

    /**
    * Attribute sysMessagePriority is Null Falg
    */
    private boolean sysMessagePriorityNull = false;
    private java.util.Date sysMessageSendTime;

    /**
     * Attribute sysMessageSendTime Be Seted Falg
     */
    private boolean sysMessageSendTimeSetted = false;

    /**
    * Attribute sysMessageSendTime is Null Falg
    */
    private boolean sysMessageSendTimeNull = false;
    private String sysMessageStatus;

    /**
     * Attribute sysMessageStatus Be Seted Falg
     */
    private boolean sysMessageStatusSetted = false;

    /**
    * Attribute sysMessageStatus is Null Falg
    */
    private boolean sysMessageStatusNull = false;
    private String sysMessageContent;

    /**
     * Attribute sysMessageContent Be Seted Falg
     */
    private boolean sysMessageContentSetted = false;

    /**
    * Attribute sysMessageContent is Null Falg
    */
    private boolean sysMessageContentNull = false;
    private String sysMessageSenderName;

    /**
     * Attribute sysMessageSenderName Be Seted Falg
     */
    private boolean sysMessageSenderNameSetted = false;

    /**
    * Attribute sysMessageSenderName is Null Falg
    */
    private boolean sysMessageSenderNameNull = false;
    private String sysMessageSenderAccount;

    /**
     * Attribute sysMessageSenderAccount Be Seted Falg
     */
    private boolean sysMessageSenderAccountSetted = false;

    /**
    * Attribute sysMessageSenderAccount is Null Falg
    */
    private boolean sysMessageSenderAccountNull = false;
    private long sysMessageSenderId;

    /**
     * Attribute sysMessageSenderId Be Seted Falg
     */
    private boolean sysMessageSenderIdSetted = false;

    /**
    * Attribute sysMessageSenderId is Null Falg
    */
    private boolean sysMessageSenderIdNull = false;

    public SysMessageReadStatus() {
        super();
    }

    /**
         * Get id
         *
         * @return long
         */
    final public long getId() {
        return id;
    }

    /**
     * Set id
     *
     * @param long
     */
    final public void setId(long id) {
        this.id = id;

        this.idSetted = true;

        this.setIdNull(false);
    }

    /**
     * Get id Has Been Setted
     *
     * @return boolean
     */
    final public boolean isIdSetted() {
        return this.idSetted;
    }

    /**
     * Set id Null
     *
     */
    final public void setIdNull() {
        this.idNull = true;
    }

    final public void setIdNull(boolean aNullFlag) {
        this.idNull = aNullFlag;
    }

    final public boolean isIdNull() {
        return this.idNull;
    }

    /**
         * Get sysMessageId
         *
         * @return long
         */
    final public long getSysMessageId() {
        return sysMessageId;
    }

    /**
     * Set sysMessageId
     *
     * @param long
     */
    final public void setSysMessageId(long sysMessageId) {
        this.sysMessageId = sysMessageId;

        this.sysMessageIdSetted = true;

        this.setSysMessageIdNull(false);
    }

    /**
     * Get sysMessageId Has Been Setted
     *
     * @return boolean
     */
    final public boolean isSysMessageIdSetted() {
        return this.sysMessageIdSetted;
    }

    /**
     * Set sysMessageId Null
     *
     */
    final public void setSysMessageIdNull() {
        this.sysMessageIdNull = true;
    }

    final public void setSysMessageIdNull(boolean aNullFlag) {
        this.sysMessageIdNull = aNullFlag;
    }

    final public boolean isSysMessageIdNull() {
        return this.sysMessageIdNull;
    }

    /**
         * Get receiverId
         *
         * @return long
         */
    final public long getReceiverId() {
        return receiverId;
    }

    /**
     * Set receiverId
     *
     * @param long
     */
    final public void setReceiverId(long receiverId) {
        this.receiverId = receiverId;

        this.receiverIdSetted = true;

        this.setReceiverIdNull(false);
    }

    /**
     * Get receiverId Has Been Setted
     *
     * @return boolean
     */
    final public boolean isReceiverIdSetted() {
        return this.receiverIdSetted;
    }

    /**
     * Set receiverId Null
     *
     */
    final public void setReceiverIdNull() {
        this.receiverIdNull = true;
    }

    final public void setReceiverIdNull(boolean aNullFlag) {
        this.receiverIdNull = aNullFlag;
    }

    final public boolean isReceiverIdNull() {
        return this.receiverIdNull;
    }

    /**
         * Get readTime
         *
         * @return java.util.Date
         */
    final public java.util.Date getReadTime() {
        return readTime;
    }

    /**
     * Set readTime
     *
     * @param java.util.Date
     */
    final public void setReadTime(java.util.Date readTime) {
        this.readTime = readTime;

        this.readTimeSetted = true;

        this.setReadTimeNull(this.readTime == null);
    }

    /**
     * Get readTime Has Been Setted
     *
     * @return boolean
     */
    final public boolean isReadTimeSetted() {
        return this.readTimeSetted;
    }

    /**
     * Set readTime Null
     *
     */
    final public void setReadTimeNull() {
        this.readTimeNull = true;
    }

    final public void setReadTimeNull(boolean aNullFlag) {
        this.readTimeNull = aNullFlag;
    }

    final public boolean isReadTimeNull() {
        return this.readTimeNull;
    }

    /**
         * Get status
         *
         * @return String
         */
    final public String getStatus() {
        if (isStatusNull()) {
            return null;
        } else {
            return StringUtils.trim(status);
        }
    }

    /**
     * Set status
     *
     * @param String
     */
    final public void setStatus(String status) {
        this.status = StringUtils.trim(status);

        this.statusSetted = true;

        this.setStatusNull(this.status == null);
    }

    /**
     * Get status Has Been Setted
     *
     * @return boolean
     */
    final public boolean isStatusSetted() {
        return this.statusSetted;
    }

    /**
     * Set status Null
     *
     */
    final public void setStatusNull() {
        this.statusNull = true;
    }

    final public void setStatusNull(boolean aNullFlag) {
        this.statusNull = aNullFlag;
    }

    final public boolean isStatusNull() {
        return this.statusNull;
    }

    /**
         * Get remarks
         *
         * @return String
         */
    final public String getRemarks() {
        if (isRemarksNull()) {
            return null;
        } else {
            return StringUtils.trim(remarks);
        }
    }

    /**
     * Set remarks
     *
     * @param String
     */
    final public void setRemarks(String remarks) {
        this.remarks = StringUtils.trim(remarks);

        this.remarksSetted = true;

        this.setRemarksNull(this.remarks == null);
    }

    /**
     * Get remarks Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRemarksSetted() {
        return this.remarksSetted;
    }

    /**
     * Set remarks Null
     *
     */
    final public void setRemarksNull() {
        this.remarksNull = true;
    }

    final public void setRemarksNull(boolean aNullFlag) {
        this.remarksNull = aNullFlag;
    }

    final public boolean isRemarksNull() {
        return this.remarksNull;
    }

    /**
         * Get isDroped
         *
         * @return String
         */
    final public String getIsDroped() {
        if (isIsDropedNull()) {
            return null;
        } else {
            return StringUtils.trim(isDroped);
        }
    }

    /**
     * Set isDroped
     *
     * @param String
     */
    final public void setIsDroped(String isDroped) {
        this.isDroped = StringUtils.trim(isDroped);

        this.isDropedSetted = true;

        this.setIsDropedNull(this.isDroped == null);
    }

    /**
     * Get isDroped Has Been Setted
     *
     * @return boolean
     */
    final public boolean isIsDropedSetted() {
        return this.isDropedSetted;
    }

    /**
     * Set isDroped Null
     *
     */
    final public void setIsDropedNull() {
        this.isDropedNull = true;
    }

    final public void setIsDropedNull(boolean aNullFlag) {
        this.isDropedNull = aNullFlag;
    }

    final public boolean isIsDropedNull() {
        return this.isDropedNull;
    }

    /**
         * Get receiverName
         *
         * @return String
         */
    final public String getReceiverName() {
        if (isReceiverNameNull()) {
            return null;
        } else {
            return StringUtils.trim(receiverName);
        }
    }

    /**
     * Set receiverName
     *
     * @param String
     */
    final public void setReceiverName(String receiverName) {
        this.receiverName = StringUtils.trim(receiverName);

        this.receiverNameSetted = true;

        this.setReceiverNameNull(this.receiverName == null);
    }

    /**
     * Get receiverName Has Been Setted
     *
     * @return boolean
     */
    final public boolean isReceiverNameSetted() {
        return this.receiverNameSetted;
    }

    /**
     * Set receiverName Null
     *
     */
    final public void setReceiverNameNull() {
        this.receiverNameNull = true;
    }

    final public void setReceiverNameNull(boolean aNullFlag) {
        this.receiverNameNull = aNullFlag;
    }

    final public boolean isReceiverNameNull() {
        return this.receiverNameNull;
    }

    /**
         * Get receiverAccount
         *
         * @return String
         */
    final public String getReceiverAccount() {
        if (isReceiverAccountNull()) {
            return null;
        } else {
            return StringUtils.trim(receiverAccount);
        }
    }

    /**
     * Set receiverAccount
     *
     * @param String
     */
    final public void setReceiverAccount(String receiverAccount) {
        this.receiverAccount = StringUtils.trim(receiverAccount);

        this.receiverAccountSetted = true;

        this.setReceiverAccountNull(this.receiverAccount == null);
    }

    /**
     * Get receiverAccount Has Been Setted
     *
     * @return boolean
     */
    final public boolean isReceiverAccountSetted() {
        return this.receiverAccountSetted;
    }

    /**
     * Set receiverAccount Null
     *
     */
    final public void setReceiverAccountNull() {
        this.receiverAccountNull = true;
    }

    final public void setReceiverAccountNull(boolean aNullFlag) {
        this.receiverAccountNull = aNullFlag;
    }

    final public boolean isReceiverAccountNull() {
        return this.receiverAccountNull;
    }

    /**
         * Get sysMessageTitle
         *
         * @return String
         */
    final public String getSysMessageTitle() {
        if (isSysMessageTitleNull()) {
            return null;
        } else {
            return StringUtils.trim(sysMessageTitle);
        }
    }

    /**
     * Set sysMessageTitle
     *
     * @param String
     */
    final public void setSysMessageTitle(String sysMessageTitle) {
        this.sysMessageTitle = StringUtils.trim(sysMessageTitle);

        this.sysMessageTitleSetted = true;

        this.setSysMessageTitleNull(this.sysMessageTitle == null);
    }

    /**
     * Get sysMessageTitle Has Been Setted
     *
     * @return boolean
     */
    final public boolean isSysMessageTitleSetted() {
        return this.sysMessageTitleSetted;
    }

    /**
     * Set sysMessageTitle Null
     *
     */
    final public void setSysMessageTitleNull() {
        this.sysMessageTitleNull = true;
    }

    final public void setSysMessageTitleNull(boolean aNullFlag) {
        this.sysMessageTitleNull = aNullFlag;
    }

    final public boolean isSysMessageTitleNull() {
        return this.sysMessageTitleNull;
    }

    /**
         * Get sysMessagePriority
         *
         * @return String
         */
    final public String getSysMessagePriority() {
        if (isSysMessagePriorityNull()) {
            return null;
        } else {
            return StringUtils.trim(sysMessagePriority);
        }
    }

    /**
     * Set sysMessagePriority
     *
     * @param String
     */
    final public void setSysMessagePriority(String sysMessagePriority) {
        this.sysMessagePriority = StringUtils.trim(sysMessagePriority);

        this.sysMessagePrioritySetted = true;

        this.setSysMessagePriorityNull(this.sysMessagePriority == null);
    }

    /**
     * Get sysMessagePriority Has Been Setted
     *
     * @return boolean
     */
    final public boolean isSysMessagePrioritySetted() {
        return this.sysMessagePrioritySetted;
    }

    /**
     * Set sysMessagePriority Null
     *
     */
    final public void setSysMessagePriorityNull() {
        this.sysMessagePriorityNull = true;
    }

    final public void setSysMessagePriorityNull(boolean aNullFlag) {
        this.sysMessagePriorityNull = aNullFlag;
    }

    final public boolean isSysMessagePriorityNull() {
        return this.sysMessagePriorityNull;
    }

    /**
         * Get sysMessageSendTime
         *
         * @return java.util.Date
         */
    final public java.util.Date getSysMessageSendTime() {
        return sysMessageSendTime;
    }

    /**
     * Set sysMessageSendTime
     *
     * @param java.util.Date
     */
    final public void setSysMessageSendTime(java.util.Date sysMessageSendTime) {
        this.sysMessageSendTime = sysMessageSendTime;

        this.sysMessageSendTimeSetted = true;

        this.setSysMessageSendTimeNull(this.sysMessageSendTime == null);
    }

    /**
     * Get sysMessageSendTime Has Been Setted
     *
     * @return boolean
     */
    final public boolean isSysMessageSendTimeSetted() {
        return this.sysMessageSendTimeSetted;
    }

    /**
     * Set sysMessageSendTime Null
     *
     */
    final public void setSysMessageSendTimeNull() {
        this.sysMessageSendTimeNull = true;
    }

    final public void setSysMessageSendTimeNull(boolean aNullFlag) {
        this.sysMessageSendTimeNull = aNullFlag;
    }

    final public boolean isSysMessageSendTimeNull() {
        return this.sysMessageSendTimeNull;
    }

    /**
         * Get sysMessageStatus
         *
         * @return String
         */
    final public String getSysMessageStatus() {
        if (isSysMessageStatusNull()) {
            return null;
        } else {
            return StringUtils.trim(sysMessageStatus);
        }
    }

    /**
     * Set sysMessageStatus
     *
     * @param String
     */
    final public void setSysMessageStatus(String sysMessageStatus) {
        this.sysMessageStatus = StringUtils.trim(sysMessageStatus);

        this.sysMessageStatusSetted = true;

        this.setSysMessageStatusNull(this.sysMessageStatus == null);
    }

    /**
     * Get sysMessageStatus Has Been Setted
     *
     * @return boolean
     */
    final public boolean isSysMessageStatusSetted() {
        return this.sysMessageStatusSetted;
    }

    /**
     * Set sysMessageStatus Null
     *
     */
    final public void setSysMessageStatusNull() {
        this.sysMessageStatusNull = true;
    }

    final public void setSysMessageStatusNull(boolean aNullFlag) {
        this.sysMessageStatusNull = aNullFlag;
    }

    final public boolean isSysMessageStatusNull() {
        return this.sysMessageStatusNull;
    }

    /**
         * Get sysMessageContent
         *
         * @return String
         */
    final public String getSysMessageContent() {
        if (isSysMessageContentNull()) {
            return null;
        } else {
            return StringUtils.trim(sysMessageContent);
        }
    }

    /**
     * Set sysMessageContent
     *
     * @param String
     */
    final public void setSysMessageContent(String sysMessageContent) {
        this.sysMessageContent = StringUtils.trim(sysMessageContent);

        this.sysMessageContentSetted = true;

        this.setSysMessageContentNull(this.sysMessageContent == null);
    }

    /**
     * Get sysMessageContent Has Been Setted
     *
     * @return boolean
     */
    final public boolean isSysMessageContentSetted() {
        return this.sysMessageContentSetted;
    }

    /**
     * Set sysMessageContent Null
     *
     */
    final public void setSysMessageContentNull() {
        this.sysMessageContentNull = true;
    }

    final public void setSysMessageContentNull(boolean aNullFlag) {
        this.sysMessageContentNull = aNullFlag;
    }

    final public boolean isSysMessageContentNull() {
        return this.sysMessageContentNull;
    }

    /**
         * Get sysMessageSenderName
         *
         * @return String
         */
    final public String getSysMessageSenderName() {
        if (isSysMessageSenderNameNull()) {
            return null;
        } else {
            return StringUtils.trim(sysMessageSenderName);
        }
    }

    /**
     * Set sysMessageSenderName
     *
     * @param String
     */
    final public void setSysMessageSenderName(String sysMessageSenderName) {
        this.sysMessageSenderName = StringUtils.trim(sysMessageSenderName);

        this.sysMessageSenderNameSetted = true;

        this.setSysMessageSenderNameNull(this.sysMessageSenderName == null);
    }

    /**
     * Get sysMessageSenderName Has Been Setted
     *
     * @return boolean
     */
    final public boolean isSysMessageSenderNameSetted() {
        return this.sysMessageSenderNameSetted;
    }

    /**
     * Set sysMessageSenderName Null
     *
     */
    final public void setSysMessageSenderNameNull() {
        this.sysMessageSenderNameNull = true;
    }

    final public void setSysMessageSenderNameNull(boolean aNullFlag) {
        this.sysMessageSenderNameNull = aNullFlag;
    }

    final public boolean isSysMessageSenderNameNull() {
        return this.sysMessageSenderNameNull;
    }

    /**
         * Get sysMessageSenderAccount
         *
         * @return String
         */
    final public String getSysMessageSenderAccount() {
        if (isSysMessageSenderAccountNull()) {
            return null;
        } else {
            return StringUtils.trim(sysMessageSenderAccount);
        }
    }

    /**
     * Set sysMessageSenderAccount
     *
     * @param String
     */
    final public void setSysMessageSenderAccount(String sysMessageSenderAccount) {
        this.sysMessageSenderAccount = StringUtils.trim(sysMessageSenderAccount);

        this.sysMessageSenderAccountSetted = true;

        this.setSysMessageSenderAccountNull(this.sysMessageSenderAccount == null);
    }

    /**
     * Get sysMessageSenderAccount Has Been Setted
     *
     * @return boolean
     */
    final public boolean isSysMessageSenderAccountSetted() {
        return this.sysMessageSenderAccountSetted;
    }

    /**
     * Set sysMessageSenderAccount Null
     *
     */
    final public void setSysMessageSenderAccountNull() {
        this.sysMessageSenderAccountNull = true;
    }

    final public void setSysMessageSenderAccountNull(boolean aNullFlag) {
        this.sysMessageSenderAccountNull = aNullFlag;
    }

    final public boolean isSysMessageSenderAccountNull() {
        return this.sysMessageSenderAccountNull;
    }

    /**
         * Get sysMessageSenderId
         *
         * @return long
         */
    final public long getSysMessageSenderId() {
        return sysMessageSenderId;
    }

    /**
     * Set sysMessageSenderId
     *
     * @param long
     */
    final public void setSysMessageSenderId(long sysMessageSenderId) {
        this.sysMessageSenderId = sysMessageSenderId;

        this.sysMessageSenderIdSetted = true;

        this.setSysMessageSenderIdNull(false);
    }

    /**
     * Get sysMessageSenderId Has Been Setted
     *
     * @return boolean
     */
    final public boolean isSysMessageSenderIdSetted() {
        return this.sysMessageSenderIdSetted;
    }

    /**
     * Set sysMessageSenderId Null
     *
     */
    final public void setSysMessageSenderIdNull() {
        this.sysMessageSenderIdNull = true;
    }

    final public void setSysMessageSenderIdNull(boolean aNullFlag) {
        this.sysMessageSenderIdNull = aNullFlag;
    }

    final public boolean isSysMessageSenderIdNull() {
        return this.sysMessageSenderIdNull;
    }

    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = (prime * result) + (int) (getId() ^ (getId() >>> 32));

        return result;
    }

    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }

        if ((obj instanceof SysMessageReadStatus) == false) {
            return false;
        }

        SysMessageReadStatus other = (SysMessageReadStatus) obj;

        if (getId() != other.getId()) {
            return false;
        }

        return true;
    }

    public String toString() {
        StringBuffer buffer = new StringBuffer();

        buffer.append("[");

        buffer.append("id=");
        buffer.append(this.id);

        buffer.append("sysMessageId=");
        buffer.append(this.sysMessageId);

        buffer.append("receiverId=");
        buffer.append(this.receiverId);

        buffer.append("readTime=");
        buffer.append(this.readTime);

        buffer.append("status=");
        buffer.append(this.status);

        buffer.append("remarks=");
        buffer.append(this.remarks);

        buffer.append("receiverName=");
        buffer.append(this.receiverName);

        buffer.append("receiverAccount=");
        buffer.append(this.receiverAccount);

        buffer.append("sysMessageTitle=");
        buffer.append(this.sysMessageTitle);

        buffer.append("sysMessageSenderId=");
        buffer.append(this.sysMessageSenderId);

        buffer.append("sysMessageSenderName=");
        buffer.append(this.sysMessageSenderName);

        buffer.append("sysMessageSenderAccount=");
        buffer.append(this.sysMessageSenderAccount);

        buffer.append("sysMessagePriority=");
        buffer.append(this.sysMessagePriority);

        buffer.append("sysMessageSendTime=");
        buffer.append(this.sysMessageSendTime);

        buffer.append("sysMessageStatus=");
        buffer.append(this.sysMessageStatus);

        buffer.append("isDroped=");
        buffer.append(this.isDroped);

        buffer.append("sysMessageContent=");
        buffer.append(this.sysMessageContent);

        buffer.append("]");

        return buffer.toString();
    }
}
